<?php
declare (strict_types = 1);

namespace app\service\basic\auth;

interface Guard
{
    /**
     * Determine if the current user is authenticated.
     *
     * @return bool
     */
    public function check();

    /**
     * Get the currently authenticated user.
     *
     */
    public function user();
}